package com.mini.repository;

import com.mini.model.BusinessUserProfileDic;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BusinessUserProfileDicRepository extends JpaRepository<BusinessUserProfileDic, String>, JpaSpecificationExecutor<BusinessUserProfileDic> {

    List<BusinessUserProfileDic> findByShowStateOrderByShowOrderDesc(Integer showState);
}
